package com.oa.ServiceImp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.oa.DaoInter.UserInter;
import com.oa.ServiceInter.UserService;
import com.oa.entity.User;

public class UserServiceImp implements UserService{

	@Autowired  
    private UserInter userDao;  
	
	public void saveUser(User user) {
		userDao.save(user);
	}

	public List<User> find(String sql) {
		return userDao.find(sql);
	}

}
